package com.julyup.core.dao;

import com.julyup.core.entity.Company;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface CompanyDao extends JpaRepository<Company,Long>, JpaSpecificationExecutor<Company> {

  public Company findByCompanyName(String companyName);
}